package com.orangeforms.webadmin.app.model;



import com.baomidou.mybatisplus.annotation.*;
import com.orangeforms.common.core.base.mapper.BaseModelMapper;
import com.orangeforms.webadmin.app.vo.MdmDataOrganizeVo;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import java.util.Date;

/**
 * 组织机构主数据(MdmDataOrganize)表实体类
 *
 * @author makejava
 * @since 2022-09-05 17:24:39
 */
@ApiModel("组织机构主数据")
@Data
@TableName(value = "mdm_data_organize")
public class MdmDataOrganize {
     /**
     * 机构编码
     */   
    @ApiModelProperty(value = "机构编码")
    @TableField(value = "ORG_CODE")
    private String orgCode;
     /**
     * 机构名称
     */   
    @ApiModelProperty(value = "机构名称")
    @TableField(value = "ORG_NAME")
    private String orgName;
     /**
     * 机构简称
     */   
    @ApiModelProperty(value = "机构简称")
    @TableField(value = "ORG_SHORT_NAME")
    private String orgShortName;
     /**
     * 所在省份代码
     */   
    @ApiModelProperty(value = "所在省份代码")
    @TableField(value = "PROVINCE_CODE")
    private String provinceCode;
     /**
     * 所在市县代码
     */   
    @ApiModelProperty(value = "所在市县代码")
    @TableField(value = "CITY_CODE")
    private String cityCode;
     /**
     * 上级机构编码
     */   
    @ApiModelProperty(value = "上级机构编码")
    @TableField(value = "PARENT_CODE")
    private String parentCode;
     /**
     * 机构级别代码
     */   
    @ApiModelProperty(value = "机构级别代码")
    @TableField(value = "LEVEL_CODE")
    private String levelCode;
     /**
     * 机构状态
     */   
    @ApiModelProperty(value = "机构状态")
    @TableField(value = "STATUS")
    private String status;
     /**
     * 上级机构名称
     */   
    @ApiModelProperty(value = "上级机构名称")
    @TableField(value = "PARENT_NAME")
    private String parentName;
     /**
     * 统一社会信用代码
     */   
    @ApiModelProperty(value = "统一社会信用代码")
    @TableField(value = "USCC")
    private String uscc;
     /**
     * 机构地址
     */   
    @ApiModelProperty(value = "机构地址")
    @TableField(value = "ADDRESS")
    private String address;
     /**
     * 显示顺序
     */   
    @ApiModelProperty(value = "显示顺序")
    @TableField(value = "DISPLAY_ORDER")
    private Integer displayOrder;
     /**
     * 原组织机构编码
     */   
    @ApiModelProperty(value = "原组织机构编码")
    @TableField(value = "O_ORG_CODE")
    private String oOrgCode;
     /**
     * 数据更新标识,1-新增,2-更新,3-删除
     */   
    @ApiModelProperty(value = "数据更新标识,1-新增,2-更新,3-删除")
    @TableField(value = "MODIFY_FLAG")
    private Integer modifyFlag;
     /**
     * 用于区分该批次数据的唯一编号
     */   
    @ApiModelProperty(value = "用于区分该批次数据的唯一编号")
    @TableField(value = "BUSI_NUM")
    private String busiNum;
     /**
     * 是否推送子系统 1-推送 0-不推送
     */   
    @ApiModelProperty(value = "是否推送子系统 1-推送 0-不推送")
    @TableField(value = "PUBLISH_FLAG")
    private Integer publishFlag;
    
    @Mapper
    public interface MdmDataOrganizeModelMapper extends BaseModelMapper<MdmDataOrganizeVo, MdmDataOrganize> {
    }
    public static final MdmDataOrganizeModelMapper INSTANCE = Mappers.getMapper(MdmDataOrganizeModelMapper.class);
}

